DistanceFunction
DistanceFunction is an option for functions such as Nearest that specifies the distance value to assume between any two specified points.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.